<div class="sidebar_detail">
	<div class="tab-header">
		<div class="title">
			<i class="fa fa-home"></i>修改
		</div>
		<div class="tool">
			<button type="button" class="btn btn-default"
				ng-click="updateSupport.save()"
				ng-disabled="updateOrderForm.$invalid">
				<i class="fa fa-outdent"></i>保存
			</button>
		</div>
	</div>
	<ul class="nav nav-tabs" style="clear: both">
		<li class="active"><a data-target="#orderBaseInfo" role="tab"
			data-toggle="tab">基本信息</a></li>
	</ul>
	<div class="tab-content">
		<div class="tab-pane active" id="orderBaseInfo">
			<form id="updateOrderForm" name="updateOrderForm" novalidate>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-2 col-sm-2 control-label">订单编号:</label>
							<div class="col-md-10 col-sm-10"
								style="padding-top: 7px; text-align: left">{{
								updateSupport.entity.orderNo}}</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>组团社:
							</label>
							<div class="col-md-8 col-sm-10"
								style="padding-top: 7px; text-align: left">{{
								updateSupport.entity.storeName}}</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>供应商:
							</label>
							<div class="col-md-8 col-sm-10"
								style="padding-top: 7px; text-align: left">{{
								updateSupport.entity.supplierName}}</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label">班期:</label>
							<div class="col-md-8 col-sm-10"
								style="padding-top: 7px; text-align: left">{{
								updateSupport.entity.productTimeTableName}}</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label">数量:</label>
							<div class="col-md-8 col-sm-10"
								style="padding-top: 7px; text-align: left">{{
								updateSupport.entity.visitors.length }}</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label">状态:</label>
							<div class="col-md-8 col-sm-10"
								style="padding-top: 7px; text-align: left">{{
								updateSupport.entity.statusName}}</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> 总金额: </label>
							<div class="col-md-8 col-sm-10">
								<input name="totalAmount" type="number" min="0" class="form-control"
									ng-model="updateSupport.entity.totalAmount" required> <span
									class="glyphicon glyphicon-ok form-control-feedback"
									ng-show="updateOrderForm.totalAmount.$valid"></span> 
								<!-- <input
									name="isOk" type="hidden" class="form-control"
									ng-model="updateOrderForm.cache.isOk" required> -->
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-sm-2 control-label"><span
								class="notNull">*</span>备注:</label>
							<div class="col-sm-10">
								<textarea id="description" name="description"
									class="form-control" rows="5"
									ng-model="updateSupport.entity.comment"></textarea>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-sm-2 control-label"> 游客: </label>
							<div class="col-sm-10">
								<div class="body" style="height: 200px;">
									<ul>
										<li ng-click="updateSupport.selectVisitor(item.id)"
											ng-repeat="item in updateSupport.entity.visitors">
											<div style="text-align: right; height: 1px">
												<i class="fa fa-trash-o"></i>
											</div>
											<div>
												<span>{{item.zhName}}</span>
												</p>
												<span>{{item.enName}}</span>
											</div>
										</li>
									</ul>
								</div>
							</div>
						</div>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>